package com.maven.front.dto;

//  继承了EduCourse表，新增了name属性(便于传递给前台数据)
//  课程管理表

import com.maven.front.bean.EduCourse;
import lombok.Data;

@Data
public class EduCourseDto extends EduCourse implements java.io.Serializable{

//    名称属性，当多表数据返回前台时使用当前表
    private String name;

    private String tid;

    //课程学习进度/百分率
    private int percentage;
    @Override
    public String toString() {
        return "EduCourseDto{" +
                "name='" + name + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPercentage() {
        return percentage;
    }

    public void setPercentage(int percentage) {
        this.percentage = percentage;
    }
}
